<?php
session_start();
require 'Captcha.php';
$captcha = new Captcha(100,50,20);
//$code = $captcha->make();
$code = $captcha->make();
$_SESSION['code'] = $code;
#将验证码写入文件中
file_put_contents('code.txt',$code);
